package com.example.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "历史事件", description = "用于app中的历史地图")
public class HistoryEvents {

    /*编号*/
    @ApiModelProperty(value = "id", example = "1")
    private Integer id;
    /*地方地点*/
    @ApiModelProperty(value = "事件地点", example = "绍兴市")
    private String name;
    /*事件名字*/
    @ApiModelProperty(value = "具体地点", example = "沈园")
    private String title;
    /*时间*/
    @ApiModelProperty(value = "事件时间", example = "1141年")
    private String time;
    /*事件详情*/
    @ApiModelProperty(value = "时间详情", example = "南宋绍兴十一年（1141年），陆游娶唐琬为妻，婚后夫妻感情甚笃，双方都\\t以为可以偕老百年。不料陆游的母亲不喜欢这个媳妇，婚后不到三年，他们就\\t分手了。此后，陆游另娶了妻子王氏，并有了三个孩子，唐琬也改嫁了赵士程。\\t11年后的春天，陆游到沈园游玩，偶然遇到唐琬与赵士程。唐琬将此事告诉\\t了赵士程，并以黄酒殷勤相待。陆游深感其情，怅然久之，酒后挥毫在沈园墙\\t上写下《钗头凤》")
    private String detail;
    /**图片*/
    @ApiModelProperty(value = "显示的图片", example = "http://47.96.160.116:9090/files/1722337207778-沈园.png")
    private String img;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
}
